package com.parking.mgr.useraccount.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.parking.mgr.common.pojo.base.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;


/**
 * @ClassName BasicRoleEntity
 * @Description 角色对象
 * @Auther: shilintao
 * @Date 2023/5/22
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("t_basic_role")
public class BasicRoleEntity extends BaseEntity {

    /**
     * 主键
     */
    @TableId(type = IdType.ASSIGN_UUID, value = "pk_id")
    @JsonProperty("id")
    private String id;

    /**
     * 名称
     */
    @JsonProperty("fName")
    private String fName;

    /**
     * logo图片文件url
     */
    @JsonProperty("fLogoImgUrl")
    private String fLogoImgUrl;

    /**
     * logo图片文件id
     */
    @JsonProperty("fLogoImgFileId")
    private String fLogoImgFileId;

    /**
     * logo图片文件后缀名
     */
    @JsonProperty("fLogoImgFileSuffix")
    private String fLogoImgFileSuffix;

    /**
     * 排序编号
     */
    @TableField(fill = FieldFill.INSERT)
    private String fSortNumber;


    @Override
    public String toString() {
        return "BasicRoleEntity{" +
                "pkId='" + id + '\'' +
                '}';
    }


}
